﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Helper.Reporting.Schema
{
    public class UserSchema
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string BusinessName { get; set; }

        public UserSchema(int Id, string Name)
        {
            this.Id = Id;
            this.Name = Name;
        }

        public UserSchema(int Id, string Name, Core.Entity.Business ParentBusiness)
        {
            this.Id = Id;
            this.Name = Name;
            this.BusinessName = ParentBusiness.Name;
        }
    }
}